import './globals.css'
import type { Metadata } from "next"
import { Inter, Roboto_Mono } from "next/font/google"

const inter = Inter({
  subsets: ["latin"],
  variable: "--font-sans",
})

const robotoMono = Roboto_Mono({
  subsets: ["latin"],
  variable: "--font-mono",
})

export const metadata: Metadata = {
  title: "Next.js 图表示例",
  description: "使用Next.js和Recharts构建的图表展示项目",
  generator: 'v0.dev'
}

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode
}>) {
  return (
    <html lang="zh-CN">
      <body className={`${inter.variable} ${robotoMono.variable} font-sans antialiased`}>{children}</body>
    </html>
  )
}